<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员信息模块</title>
<script type="text/javascript" src="./js/jquery-1.8.3.min.js"></script>
<style type="text/css">
* {
	font-size: 12px;
}

tr {
	text-align: center;
	height: 40px;
}
</style>
<script type="text/javascript">
	$(function() {
		var $memberList = $("#memberList");
        
        // 使用on方法注册删除功能
		
        // 使用on方法注册编辑功能
		
        // 使用on方法注册保存功能
		
        // 使用on方法注册取消功能
		
		
		var newLine = '<tr><td><input type="checkbox" /><form action=""></td>'
			+ '<td><span class="show" style="display: none;"></span><input type="text" name="memberName" /></td>'
			+ '<td><span class="show" style="display: none;"></span><input type="radio" name="gender" value="男"/><span>男</span>'
			+ '<input type="radio" name="gender" value="女"/><span>女</span></td>'
			+ '<td><span class="show" style="display: none;"></span><input type="text" name="cardNo" /></td>'
			+ '<td><span class="show" style="display: none;"></span><input type="text" name="level" /></td>'
			+ '<td><span class="show" style="display: none;"></span><input type="text" name="telephone" /></td>'
			+ '<td><span class="show" style="display: none;"></span><input type="text" name="birthday" /></td>'
			+ '<td><span class="show" style="display: none;"></span><input type="text" name="consumption" /></td>'
			+ '<td><img class="save" src="images/edit.jpg" title="保存" />'
			+ '<img class="del" src="images/del.jpg" title="删除" /></form></td>'
			+ '</tr>';
		
        // 注册新增功能


	});
</script>
</head>
<body>


	<table id="memberList" width="950" border="0" cellspacing="0"
		cellpadding="0">
		<tr bgcolor="#EBE7DC">
			<td width="21px"><input type="checkbox" />
			</td>
			<td width="131px">姓名</td>
			<td width="76px">性别</td>
			<td width="131px">卡号</td>
			<td width="131px">会员级别</td>
			<td width="131px">电话号码</td>
			<td width="131px">出生年月日</td>
			<td width="131px">消费金额</td>
			<td width="67px">&nbsp;</td>
		</tr>
		<tr bgcolor="#FAF3E9">
			<td><input type="checkbox" /><form action="">
			</td>
			<td><span class="show">张三111</span><input type="text" name="memberName" value="张三111" style="display: none;" /></td>
			<td><span class="show">男</span><input type="radio" name="gender" value="男" checked="checked" style="display: none;" /><span style="display: none;">男</span>
			<input type="radio" name="gender" value="女" style="display: none;" /><span style="display: none;">女</span></td>
			<td><span class="show">6565654315321321</span><input type="text" name="cardNo" value="6565654315321321" style="display: none;" /></td>
			<td><span class="show">短工</span><input type="text" name="level" value="短工" style="display: none;" /></td>
			<td><span class="show">18625455412</span><input type="text" name="telephone" value="18625455412" style="display: none;" /></td>
			<td><span class="show">1995-12-09</span><input type="text" name="birthday" value="1995-12-09" style="display: none;" /></td>
			<td><span class="show">10,000.00</span><input type="text" name="consumption" value="10,000.00" style="display: none;" /></td>
			<td><img class='edit' src="images/edit.jpg" title="编辑" />
				<img class='del' src="images/del.jpg" title="删除" /></form></td>
		</tr>
		<tr bgcolor="#FEFAF7">
			<td><input type="checkbox" /><form action="">
			</td>
			<td><span class="show">张三222</span><input type="text" name="memberName" value="张三222" style="display: none;" /></td>
			<td><span class="show">男</span><input type="radio" name="gender" value="男" checked="checked" style="display: none;" /><span style="display: none;">男</span>
			<input type="radio" name="gender" value="女" style="display: none;" /><span style="display: none;">女</span></td>
			<td><span class="show">6565654315321321</span><input type="text" name="cardNo" value="6565654315321321" style="display: none;" /></td>
			<td><span class="show">短工</span><input type="text" name="level" value="短工" style="display: none;" /></td>
			<td><span class="show">18625455412</span><input type="text" name="telephone" value="18625455412" style="display: none;" /></td>
			<td><span class="show">1995-12-09</span><input type="text" name="birthday" value="1995-12-09" style="display: none;" /></td>
			<td><span class="show">10,000.00</span><input type="text" name="consumption" value="10,000.00" style="display: none;" /></td>
			<td></form><img class='edit' src="images/edit.jpg" title="编辑" />
				<img class='del' src="images/del.jpg" title="删除" /></form></td>
		</tr>
		<tr bgcolor="#FAF3E9">
			<td><input type="checkbox" /><form action="">
			</td>
			<td><span class="show">张三333</span><input type="text" name="memberName" value="张三333" style="display: none;" /></td>
			<td><span class="show">男</span><input type="radio" name="gender" value="男" checked="checked" style="display: none;" /><span style="display: none;">男</span>
			<input type="radio" name="gender" value="女" style="display: none;" /><span style="display: none;">女</span></td>
			<td><span class="show">6565654315321321</span><input type="text" name="cardNo" value="6565654315321321" style="display: none;" /></td>
			<td><span class="show">短工</span><input type="text" name="level" value="短工" style="display: none;" /></td>
			<td><span class="show">18625455412</span><input type="text" name="telephone" value="18625455412" style="display: none;" /></td>
			<td><span class="show">1995-12-09</span><input type="text" name="birthday" value="1995-12-09" style="display: none;" /></td>
			<td><span class="show">10,000.00</span><input type="text" name="consumption" value="10,000.00" style="display: none;" /></td>
			<td><img class='edit' src="images/edit.jpg" title="编辑" />
				<img class='del' src="images/del.jpg" title="删除" /></form></td>
		</tr>
	</table>
	<a href="#" class='newone'>新增</a>
</body>
</html>
